<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal" id="pub_form" action="{:U('Admin/Version/add_version')}"
			  enctype="multipart/form-data">
			 <!--  <div class="control-group">
					<label class="span1 control-label" style="width: 90px;">系统：</label>
					<div class="span3">
						<select id="system_type" class="select_2" name="system_type">
							<option  value="1" <if condition="$version_info.system_type eq 1">selected="selected"</if>>IOS</option>
							<option  value="0" <if condition="$version_info.system_type eq 0">selected="selected"</if>>ANDROID</option>
						</select>
					</div>
				</div> -->
				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">版本号：</label>
					<div class="span3">
						<input type="text" <if condition="$version_info.status eq 0"> readonly </if> name="version"  style="width: 556px;" value="{$version_info.version}">
					</div>
				</div>
				
				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">详情：</label>
					<div class="span3">
						<textarea name="info"  style="width: 556px;" value="">{$version_info.info}</textarea>
					</div>
				</div>
				
				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">压缩包地址：</label>
					<div class="span3">
						<input type="text" name="url" value="{$version_info.url}" style="width: 556px;">
					</div>
				</div>

				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">是否提示更新：</label>
					<div class="span3">
						<select id="is_update" class="select_2" name="is_update">
							<option <if condition="$version_info.is_update eq 0"> selected </if> value="0">否</option>
							<option <if condition="$version_info.is_update eq 1"> selected </if> value="1">是</option>
						</select>
					</div>
				</div>
				
				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">是否必须更新：</label>
					<div class="span3">
						<select id="mode" class="select_2" name="mode">
							<option <if condition="$version_info.update_mode eq 1"> selected </if> value="1">是</option>
							<option <if condition="$version_info.update_mode eq 0"> selected </if> value="0">否</option>
						</select>
					</div>
				</div>

				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">兑吧控制：</label>
					<div class="span3">
						<select id="formal" class="select_3" name="formal">
							<option <if condition="$version_info.is_formal eq 0"> selected </if> value="0">审核</option>
							<option <if condition="$version_info.is_formal eq 1"> selected </if> value="1">线上</option>
						</select>
					</div>
				</div>

				<div class="control-group">
					<label class="span1 control-label" style="width: 100px;">视频控制：</label>
					<div class="span3">
						<select id="show_video" class="select_3" name="show_video">
							<option <if condition="$version_info.show_video eq 0"> selected </if> value="0">不显示</option>
							<option <if condition="$version_info.show_video eq 1"> selected </if> value="1">显示</option>
						</select>
					</div>
				</div>
				
				<input type="hidden" name="id" value="{$id}">
				<input type="hidden" name="system_type" value="{$_GET['system_type']}">
			<div class="form-actions" style="padding-left:260px;">
				<button type="button" id="quick_publish" class="btn">保存</button>
				&nbsp;&nbsp;
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>

</body>
</html>